﻿@model 글Model

<form id="편집폼">
    제목: 
    @Html.TextBoxFor(m => m.제목, new { style = "width:700px; border-style:groove; margin:2px; ime-mode:active;" })
    @Html.TextAreaFor(m => m.내용, new { id="글_내용", @class = "smarteditor2", rows = "30", cols = "100", style = "width: 766px; height: 600px; display: none;" })
    @Html.HiddenFor(m => m.주제ID)
    @Html.HiddenFor(m => m.코드)

    <a onclick="글저장()" class="btn btn-primary">저장</a>
    <a href="@Url.SubjectDetail(Model.주제ID)" class="btn">취소</a>

    @if (현재사용자.사용자.전산소) {
        @Html.CheckBoxFor(m => m.전산소만)
        <span>전산소만 보기</span>
    }
</form>

@section scripts {
    <script type="text/javascript" src="@Url.Content("~/Content/se2/js/HuskyEZCreator.js")" charset="utf-8"></script>
    <script type="text/javascript">
        $(ArticleEdit_init)
    </script>
}
